package com.the_ring.behavior.template;

/**
 * @author: t22306139
 * @date: 2023/12/1  11:04
 */
public abstract class CookingTemplate {

    protected void doCooking() {
        this.preHandle();
        this.doSomething();
        this.postHandle();
    }

    public abstract void preHandle();

    public abstract void doSomething();

    public abstract void postHandle();
}
